package com.aspose.cells;

abstract class zld extends zlc implements zagj {
   protected zagu[] h;

   public zld(zaay var1, zzi var2, zagu[] var3, int var4, int var5) {
      super(var1, var2, var3, var4, var5);
      this.h = var3;
   }

   public boolean a() {
      return this.g;
   }

   public void a(boolean var1) {
      this.g = var1;
      if (!var1) {
         this.h = this.d;
      }

   }

   public void c() {
      if (this.g) {
         this.h = new zagu[this.d.length];
         System.arraycopy(this.d, 0, this.h, 0, this.h.length);
      }

   }

   public zagu d() {
      if (this.g) {
         return new zzi(this.b.d(), this.b.l(), this.h);
      } else {
         this.b.k();
         return this.b;
      }
   }

   public zagu b(boolean var1) {
      if (this.g) {
         System.arraycopy(this.h, 0, this.d, 0, this.h.length);
         if (this.b.c(this.a, true)) {
            if (var1) {
               return null;
            }

            zagu[] var2 = new zagu[this.h.length];
            System.arraycopy(this.h, 0, var2, 0, var2.length);
            return new zzi(this.b.d(), this.b.l(), var2);
         }
      } else if (var1 && this.b.c(this.a, true)) {
         return null;
      }

      this.b.k();
      return this.b.d(this.a);
   }

   public zagu e() {
      return null;
   }

   public boolean f() {
      return false;
   }
}
